package com.tang.sys.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class MenuRoleVo {
    private Long id;

    @ApiModelProperty("菜单名称")
    private String menuName;

    @TableField(exist = false)
    private String label;

    @ApiModelProperty("父菜单ID")
    private Long parentId;

    private List<MenuRoleVo> children;
}
